'''
Created on 2009-03-11

@author: belleyma
'''
from RulesView import *
from tkinter import *

def callback():
    print ("called the callback!")

root = Tk()
root.title("bfr")
# create a menu
menu = Menu(root)
root.config(menu=menu)

filemenu = Menu(menu)
menu.add_cascade(label="File", menu=filemenu)
filemenu.add_command(label="New", command=callback)
filemenu.add_command(label="Open...", command=callback)
filemenu.add_separator()
filemenu.add_command(label="Exit", command=callback)

helpmenu = Menu(menu)
menu.add_cascade(label="Help", menu=helpmenu)
helpmenu.add_command(label="About...", command=callback)

r = Rules(root)

mainloop()
